﻿using Domain.Entities.ToDo;
using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

#nullable disable

namespace Domain.Entities;

/// <summary>
/// 对话标题
/// </summary>
[Table("Dialogues")]
public class Dialogue : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 删除标识
    /// </summary>
    public bool? IsDeleted { get; set; }

    public ICollection<MedicalQuestionAnswerPairs> MedicalQuestionAnswerPairs { get; set; } // 导航属性
}
